package com.cloudlead.commonData.entity;

import com.cloudlead.common.lang.persistence.AbstractIdEntity;

import com.cloudlead.common.persistence.UpdateCheck;

import javax.validation.constraints.Size;
import org.joda.time.DateTime;
import com.cloudlead.common.lang.annotation.Label;
import java.lang.String;
import javax.validation.constraints.NotNull;

/**
 * EWechatlog is a Querydsl bean type
 */
@Label("Wechatlog")
public class EWechatlog extends AbstractIdEntity<String> {

    private static final long serialVersionUID =13155654819549L;    
    @Label("active")
    @Size(max=500)
    private String active;

    @Label("containerNo")
    @Size(max=50)
    private String containerNo;

    @Label("driverName")
    @Size(max=50)
    private String driverName;

    @NotNull(groups={UpdateCheck.class})
    @Label("id")
    @Size(max=24)
    private String id;

    @Label("nowTime")
    private DateTime nowTime;

    @Label("tel")
    @Size(max=20)
    private String tel;

    public String getActive() {
        return active;
    }

    public void setActive(String active) {
        this.active = active;
    }

    public String getContainerNo() {
        return containerNo;
    }

    public void setContainerNo(String containerNo) {
        this.containerNo = containerNo;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public DateTime getNowTime() {
        return nowTime;
    }

    public void setNowTime(DateTime nowTime) {
        this.nowTime = nowTime;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String toString() {
         return String.format("EWechatlog { active : %s,containerNo : %s,driverName : %s,id : %s,nowTime : %s,tel : %s }",active,containerNo,driverName,id,nowTime,tel);
    }

}

